From: Jasper St. Pierre Date: Wed, 28 Nov 2012 22:55:46 +0000 (-0500) Subject: scroll-view-fade: Use GLSL 1.20 X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5350 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c84236ed73fe71f477e09df18eefb986ecd07b14;p=gnome-shell.git scroll-view-fade: Use GLSL 1.20 GLSL 1.20 is a better language, and we'll rely on it in future updates. This doesn't have any additional constraints, since GLSL 1.20 was standardized before GLSL-supporting drivers came out. https://bugzilla.gnome.org/show_bug.cgi?id=689249 --- diff --git a/src/st/st-scroll-view-fade.glsl b/src/st/st-scroll-view-fade.glsl index 9248fa6f0..4b07642ad 100644 --- a/src/st/st-scroll-view-fade.glsl +++ b/src/st/st-scroll-view-fade.glsl @@ -17,6 +17,8 @@ * along with this program. If not, see . */ +#version 120 + uniform sampler2D tex; uniform float height; uniform float width;